package com.hnzq.cloud.freshuserassembly.exception;

import lombok.Data;

@Data
public class FreshException extends RuntimeException {

    private static final long SerialVersionUID = 1;

    public FreshException(String msg, Integer code){
        super(msg);
        this.code = code;
    }

    private Integer code;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
